﻿<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="struts"%>

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>后台首页</title>
<link href="../css/CSSReset.css" rel="stylesheet" />
<link href="../css/admin_base.css?v=0.1" rel="stylesheet" />
<link href="../css/listSchoolYear.css" rel="stylesheet" />
<script type="text/javascript" src="../js/check.js"></script>
 </head>
<body class="admin">
	<div id="main">
		<div id="wrapper">
			<%@ include file="AdminHeader.jsp"%>
			<div id="content-wrapper">
				<div class="sidebar">
					<div class="side-option">
						<span>学期管理</span><b></b>
					</div>
					<div class="side-menu">
						<ul>
							<li><a style="color: #555">学期列表</a></li>
							<li><a href="newSchoolYear">添加学期</a></li>
							<li><a href="searchSchoolYear">查询学期</a></li>
 						</ul>
					</div>
					<div class="hide-btn">
						<div>
							<b></b>
						</div>
					</div>
				</div>
				<div class="content">
					<div class="action">
						<a href="#">后台首页</a> <a href="#">教务系统登陆</a> <a href="#">退出</a>
					</div>
					<!--解决IE6/7中absolute元素相邻元素margin失效bug -->
					<!--[if lt IE 8]><b></b><![endif]-->
					<div class="list">
						<table class="list-data">
							<colgroup>
								<col class="id" />
								<col class="login-num" />
								<col class="name" />
  							</colgroup>
							<thead>
								<tr>
									<th>学期号</th>
									<th>学期名</th>
 									<th>操作</th>
 								</tr>
							</thead>
							<tbody>
								<struts:iterator value="list">
									<tr>
										<td><struts:property value="id"></struts:property>
										</td>
										<td><struts:property value="SchoolYearName"></struts:property>
										</td>
   										<td><a href="viewSchoolYear?id=${id}">查看</a>
   										<a href="deleteSchoolYear?id=${id}" onclick="return alertSure()">删除</a>
									</tr>
								</struts:iterator>
							</tbody>
						</table>
					</div>
					<div id="page-nav">
						<div class="navi-button">
							<a href="listSchoolYear?currentPage=${currentPage-1}"><span class="pre"></span>前一页 </a><a href="listSchoolYear?currentPage=${currentPage+1}">后一页<span class="next"></span></a>
						</div>
					</div>
				</div>
				<br class="clear" />
			</div>
		</div>
	</div>
</body>
</html>